// 入口js
import Vue from 'vue'
import App from './App'

// 导入过滤器
import './filters/index'

// 导入vuelazyload
import loading from './common/imgs/loading.gif'
import VueLazyload from 'vue-lazyload'

// 导入mockjs
import './mock/mockServer'

// 导入路由
import router from './router/index'

// 导入vuex
import store from './store/index'

// 注册全局组件标签
import {Button} from 'mint-ui'
Vue.component(Button.name, Button)

Vue.use(VueLazyload, {
  loading
})

export default new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
